package week5.PP9_3;

import week5.Contact;

public class TimeTester {
    public static void main(String[] args) {
        Contact[] friends = new Contact[7];

        friends[0] = new Contact("John", "Smith", "610-555-7384");
        friends[1] = new Contact("Sarah", "Barnes", "215-555-3827");
        friends[2] = new Contact("Mark", "Riley", "733-555-2969");
        friends[3] = new Contact("Laura", "Getz", "663-555-3984");
        friends[4] = new Contact("Larry", "Smith", "464-555-3489");
        friends[5] = new Contact("Frank", "Phelps", "322-555-2284");
        friends[6] = new Contact("Marsha", "Grant", "243-555-2837");


        Integer[] a = new Integer[]{1, 5, 7 ,2 ,19 ,10 ,3, 6, 55 ,12 ,22};
//        Sorting.selectionSort(friends);
//        Sorting.selectionSort(friends);
//        Sorting.insertionSort(friends);
//        Sorting.bubbleSort(friends);
//        Sorting.quickSort(friends);
        Sorting.mergeSort(friends);

    }
}
